<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta content="width=device-width,user-scalable=no"name="viewport">
<title>会员详情</title>
<link rel="stylesheet" type="text/css" href="{:C('WEB_URL')}Public/business/style/base.css" />
<link rel="stylesheet" type="text/css" href="{:C('WEB_URL')}Public/business/style/style.css" />
<link rel="stylesheet" type="text/css" href="{:C('WEB_URL')}Public/business/style/bootstrap.min.css" />
<script type="text/javascript" charset="UTF-8" src="{:C('WEB_URL')}Public/business/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript" charset="UTF-8" src="{:C('WEB_URL')}Public/business/js/bootstrap.min.js"></script>
<script type="text/javascript" charset="UTF-8" src="{:C('WEB_URL')}Public/business/js/script.js"></script>
</head>
<body>
<div id="box">
 <div class="navbar navbar-default navbar-fixed-top">
  <header>
   <h1><a href="{:U('Business/manage')}"><span class="glyphicon glyphicon-menu-left"></span></a></h1>
   <p class="title">会员详情</p>
  </header>
 </div><!--navbar-fixed-top-->
 <div class="member">
  <ul class="detailsUl" id="memberDiv">
   <li><span class="detOne">会员账号</span><span class="detTwo">NO.{$data['user_id']}</span></li>
   <li><span class="detOne">手机号</span><span class="detTwo">{$data.user_name}</span></li>
   <li><span class="detOne">昵称</span><span class="detTwo">{$data.nick_name}</span></li>
   <li><span class="detOne">性别</span><span class="detTwo">{$data.sex}</span></li>
<!--    <li><span class="detOne">会员等级</span><span class="detTwo">黄金会员</span></li> -->
   <li><span class="detOne">会员积分</span><span class="detTwo">{$data.ntegral}</span></li>
   <li><span class="detOne">剩余优惠次数</span><span class="detTwo">{$data.count}</span></li>
   <li><span class="detOne">开卡日期</span><span class="detTwo">{$data.creattime}</span></li>
  <!--  <li><span class="detOne">卡片有效日期</span><span class="detTwo">{$data.endtime}</span></li>
   <li><span class="detOne">近三个月消费次数</span><span class="detTwo">7</span></li> -->
   <li><span class="detOne">生日</span><span class="detTwo">{$data.birthday}</span></li>
  </ul>
 </div><!--member-->
 	<if condition="$list2.purview eq 0">
  <div class="navbar navbar-default navbar-fixed-bottom">	
  <footer id="foot">
    <dl>
     <dt><a href="{:U('index')}"><img src="{:C('WEB_URL')}Public/business/images/home.png" /></a></dt>
     <dd><a href="{:U('index')}" class="current">首页</a></dd>
    </dl>
    <dl>
     <dt><a href="{:U('pullrefresh_sub')}"><img src="{:C('WEB_URL')}Public/business/images/deal_07.jpg" /></a></dt>
     <dd><a href="{:U('pullrefresh_sub')}">员工管理</a></dd>
    </dl>
    <dl>
     <dt><a href="{:U('manage')}"><img src="{:C('WEB_URL')}Public/business/images/deal_09.jpg" /></a></dt>
     <dd><a href="{:U('manage')}">会员管理</a></dd>
    </dl>
   </footer>
   
  </div><!--/navbar-->
 	<else />
    </if>
</div><!--box-->
<script type="text/javascript">
//微信判断header是否显示
if(isWeiXin()){ 
//alert("====");
$(".title").hide();
} 
else{
//alert("+++++");
}	
//最下面点击效果
$('#foot dl').on("touchstart",function(){
  // alert(1);
  $('#foot dl').css("background-color","#fff")
  $(this).css("background-color","#ddd")
})
$('#foot dl').on("touchend",function(){
  // alert(1);
  $('#foot dl').css("background-color","#fff")

})
</script>
</body>
</html>
